<template>
  <div class="home">
    <HelloWorld :msg="user" />
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from "@/components/HelloWorld.vue";

export default {
  data() {
    return {
      user: {
        name: "xlh",
        id: 1,
      },
    };
  },
  name: "Home",
  components: {
    HelloWorld,
  },
};
</script>
